package com.pro.common.service.file.util.sub;

import com.pro.common.service.file.util.PathTemplateUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.net.URLConnection;

/**
 * 文件路径生成结果
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserFilePathResult {
    private String physicalPath; // 物理路径，可直接用于OSS
    private String logicalPath;  // 逻辑路径，可用于前端展示
    private String ancestorPath;
    private String nodeName;
    private String fileName;
    private String extension;
    private String contentType;
    private Long sizeBytes;
}
